﻿@model Entidades.Sistema.Base.Provincia
@{
    ViewBag.Title = "Create";

}

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>


@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
         <legend>Crear Provincia</legend>


        @Html.HiddenFor(model => model.IdProvincia)

        <div class="clearfix">
            @Html.LabelFor(model => model.IdProvincia)
        <div class="input">
            @Html.TextBoxFor(model => model.IdProvincia, new { disabled = "disabled" })
            @Html.ValidationMessageFor(model => model.IdProvincia)
        </div>
        </div>


        <div class="clearfix">

            @Html.LabelFor(model => model.Nombre)

        
        <div class="input">

            @Html.EditorFor(model => model.Nombre)

            @Html.ValidationMessageFor(model => model.Nombre)
        </div>
		</div>


        <div class="actions">
            <input type="submit" class="btn primary" value="Create" />
			@Html.ActionLink("Cancelar", "Index", null, new { @class = "btn"})
        </div>
    </fieldset>
}



